package com.zj.z11select.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zj.z11select.entity.ShoppingCart;
import com.zj.z11select.vo.BaseResult;

import java.util.List;

/**
 * <p>
 * 购物车  服务类
 * </p>
 *
 * @author ZHOUJIE
 * @since 2021-08-03
 */
public interface ShoppingCartService extends IService<ShoppingCart> {

    /**
     * 查询购物车
     * @param userId 用户ID
     * @return 购物车内容集合
     */
    List<ShoppingCart> listCart(Integer userId);
}
